/*
 * XML Type:  PayeeModResponse
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.PayeeModResponse
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML PayeeModResponse(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface PayeeModResponse extends net.ofx.types.x2003.x04.AbstractPayeeResponse
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("payeemodresponse74c7type");
    
    /**
     * Gets the "PAYEE" element
     */
    net.ofx.types.x2003.x04.Payee getPAYEE();
    
    /**
     * True if has "PAYEE" element
     */
    boolean isSetPAYEE();
    
    /**
     * Sets the "PAYEE" element
     */
    void setPAYEE(net.ofx.types.x2003.x04.Payee payee);
    
    /**
     * Appends and returns a new empty "PAYEE" element
     */
    net.ofx.types.x2003.x04.Payee addNewPAYEE();
    
    /**
     * Unsets the "PAYEE" element
     */
    void unsetPAYEE();
    
    /**
     * Gets the "BANKACCTTO" element
     */
    net.ofx.types.x2003.x04.BankAccount getBANKACCTTO();
    
    /**
     * True if has "BANKACCTTO" element
     */
    boolean isSetBANKACCTTO();
    
    /**
     * Sets the "BANKACCTTO" element
     */
    void setBANKACCTTO(net.ofx.types.x2003.x04.BankAccount bankacctto);
    
    /**
     * Appends and returns a new empty "BANKACCTTO" element
     */
    net.ofx.types.x2003.x04.BankAccount addNewBANKACCTTO();
    
    /**
     * Unsets the "BANKACCTTO" element
     */
    void unsetBANKACCTTO();
    
    /**
     * Gets array of all "PAYACCT" elements
     */
    java.lang.String[] getPAYACCTArray();
    
    /**
     * Gets ith "PAYACCT" element
     */
    java.lang.String getPAYACCTArray(int i);
    
    /**
     * Gets (as xml) array of all "PAYACCT" elements
     */
    net.ofx.types.x2003.x04.IdType[] xgetPAYACCTArray();
    
    /**
     * Gets (as xml) ith "PAYACCT" element
     */
    net.ofx.types.x2003.x04.IdType xgetPAYACCTArray(int i);
    
    /**
     * Returns number of "PAYACCT" element
     */
    int sizeOfPAYACCTArray();
    
    /**
     * Sets array of all "PAYACCT" element
     */
    void setPAYACCTArray(java.lang.String[] payacctArray);
    
    /**
     * Sets ith "PAYACCT" element
     */
    void setPAYACCTArray(int i, java.lang.String payacct);
    
    /**
     * Sets (as xml) array of all "PAYACCT" element
     */
    void xsetPAYACCTArray(net.ofx.types.x2003.x04.IdType[]payacctArray);
    
    /**
     * Sets (as xml) ith "PAYACCT" element
     */
    void xsetPAYACCTArray(int i, net.ofx.types.x2003.x04.IdType payacct);
    
    /**
     * Inserts the value as the ith "PAYACCT" element
     */
    void insertPAYACCT(int i, java.lang.String payacct);
    
    /**
     * Appends the value as the last "PAYACCT" element
     */
    void addPAYACCT(java.lang.String payacct);
    
    /**
     * Removes the ith "PAYACCT" element
     */
    void removePAYACCT(int i);
    
    /**
     * Gets the "EXTDPAYEE" element
     */
    net.ofx.types.x2003.x04.ExtendedPayee getEXTDPAYEE();
    
    /**
     * True if has "EXTDPAYEE" element
     */
    boolean isSetEXTDPAYEE();
    
    /**
     * Sets the "EXTDPAYEE" element
     */
    void setEXTDPAYEE(net.ofx.types.x2003.x04.ExtendedPayee extdpayee);
    
    /**
     * Appends and returns a new empty "EXTDPAYEE" element
     */
    net.ofx.types.x2003.x04.ExtendedPayee addNewEXTDPAYEE();
    
    /**
     * Unsets the "EXTDPAYEE" element
     */
    void unsetEXTDPAYEE();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.PayeeModResponse newInstance() {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.PayeeModResponse parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.PayeeModResponse) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
